<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%
	String baseP = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ "/";
%>

<!doctype html>
<html>
<head>
<title>违法查询</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="cleartype" content="on" />
<link rel="shortcut icon" href="/nocontent" />
<script type="text/javascript"
	src="<c:url value='/resource/js/jquery-1.11.0.min.js'/>"></script>
<script type="text/javascript"
	src="<c:url value='/resource/easyui/easyloader.js'/>"></script>

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,user-scalable=no" />
<meta name="viewport" id="viewport" />
<script type="text/javascript"
	src="<c:url value='/resource/js/jquery-2.0.min.js'/>"></script>
<style type="text/css">
body {
	background-color: #F0F0F0;
	font-size: 1.2em;
	font-family: "微软雅黑";
}

#content {
	text-align: left;
	left: 3px;
	top: 5px;
	font-size: 14px;
	color: #666;
	font-family: "微软雅黑";
}

#content > div{
	margin-bottom: 10px;
}

img{
	max-width: 100%;
	height: auto;
}

</style>
</head>

<body>
	<div id="content">
		<div id="fxjg">发现机关：</div>
		<div id="wzsj">违章时间：</div>
		<div id="wzdd">违章地点：</div>
		<div id="wzxw">违章行为：</div>
	</div>
</body>
<script type="text/javascript">
	$(function() {
		var data = "${data}";
		var datas = data.split(",,,");
		$("#fxjg").append(datas[0]);
		$("#wzsj").append(datas[1]);
		$("#wzdd").append(datas[2]);
		$("#wzxw").append(datas[3]);
		if(datas[4])
			$("#content").append("<div id=\"img\"><img src=" + datas[4] + "></div>");
	});
</script>
</html>
